package com.modai.springcloud.service;

import com.modai.springcloud.entities.CommonResult;
import com.modai.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

/**
 * @author ：modai
 * @date ：Created in 2020-12-18 21:48
 * @description：
 */
@Component
public class OrderFallback implements OrderService {
    @Override
    public CommonResult<Payment> pay(Long id) {
        return new CommonResult<>(444,"失败了");
    }
}
